import json
with open("./myscrapy/book.json","r",encoding="utf-8") as f:
    con = f.read()
    js_data = json.loads(con)
    print(len(js_data))